package com.motong.gongdan.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.motong.gongdan.vo.system.processSop.ProcessSopZoneVo;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author:fff
 * @time:2022/6/9
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("process_sop")
public class ProcessSop extends PublicPo{
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("process_name")
    private String processName;
    @TableField("process_code")
    private String processCode;
    @TableField("state")
    private Integer state;
    @TableField("begin_zone")
    private String beginZone;
    @TableField(value = "zone_detail",updateStrategy = FieldStrategy.NOT_NULL)
    private String zoneDetail;
    @TableField("end_zone")
    private String endZone;

    @TableField(exist = false)
    private List<ProcessSopZoneVo> vos;
}
